//
//  LZFastLoginButton.m
//  LZHundredJie
//
//  Created by apple on 16/4/5.
//  Copyright © 2016年 m14a.cn. All rights reserved.
//

#import "LZFastLoginButton.h"

@implementation LZFastLoginButton

- (void)layoutSubviews
{
    [super layoutSubviews];
    
    // 1.设置imageView
    self.imageView.centerX = self.width * 0.5;
    self.imageView.y = 0;
    
    // 2.设置textLabel
    [self.titleLabel sizeToFit];
    
    self.titleLabel.centerX = self.width * 0.5;
    self.titleLabel.y = self.height - self.titleLabel.height;
    
}

@end
